FHIR R4 Patient API - Implementation Template
Field mapping
Account
See src/main/resources/dw/Account.dwl for a mapping example.
| FHIR Field | Field | Notes |
|---|---|---|
| name.given | FirstName | In name object filter on use='official'. |
| name.family | LastName | In name object filter on use='official'. |
| active | Active__c | |
| gender | Gender__pc | |
| maritalStatus.coding..display | Marital_Status__pc | |
| birthDate | PersonBirthdate | |
| telecom.value | PersonHomePhone | First filter for use='home' and the for use='mobile'. |
| identifier.value | HealthCloudGAMedicalRecordNumberc | In identifier object where type.coding.code='MR'. |
| identifier.value | HealthCloudGASourceSystemIdc | In identifier object where type.coding.code='MR'. |
| address.line | PersonMailingStreet | In address object where type='both' or type='postal'. |
| address.city | PersonMailingCity | In address object where type='both' or type='postal'. |
| address.state | PersonMailingState | In address object where type='both' or type='postal'. |
| address.postalCode | PersonMailingPostalCode | In address object where type='both' or type='postal'. |
| address.country | PersonMailingCountry | In address object where type='both' or type='postal'. |
EHRPatient
See src/main/resources/dw/EHRPatient.dwl for a mapping example.
| FHIR Field | Field | Notes |
|---|---|---|
| name.given | HealthCloudGAGivenName1c | In name object filter on use='official'. |
| name.family | HealthCloudGAFamilyName1c | In name object filter on use='official'. |
| gender | HealthCloudGAGenderLabelc | |
| deceasedBoolean | HealthCloudGADeceasedc | |
| birthDate | HealthCloudGABirthDatec | |
| maritalStatus.coding.display | HealthCloudGAMaritalStatusLabelc | |
| identifier.value | HealthCloudGAMedicalRecordNumberc | In identifier object where type.coding.code='MR'. |
| identifier.value | HealthCloudGASourceSystemIdc | In identifier object where type.coding.code='MR'. |
| identifier.system | HealthCloudGASourceSystemc | In identifier object where type.coding.code='MR'. |
| address.line | HealthCloudGAAddress1Line1c | In address object where type='both' or type='postal'. |
| address.city | HealthCloudGAAddress1Cityc | In address object where type='both' or type='postal'. |
| address.state | HealthCloudGAAddress1Statec | In address object where type='both' or type='postal'. |
| address.postalCode | HealthCloudGAAddress1PostalCodec | In address object where type='both' or type='postal'. |
| address.country | HealthCloudGAAddress1Countryc | In address object where type='both' or type='postal'. |
| telecom.system | HealthCloudGATelecom[ind]Systemc | In telecom object the destination field has an integer set as the index of the telecom record. |
| telecom.use | HealthCloudGATelecom[ind]Usec | In telecom object the destination field has an integer set as the index of the telecom record. |
| telecom.value | HealthCloudGATelecom[ind]Valuec | In telecom object the destination field has an integer set as the index of the telecom record. |